#ifndef _USART_H_
#define _USART_H_
#include "stm32f4xx.h"
#include "Bsp.h"
#define BSP_USART               USART1
#define BSP_USART_TX_PORT       GPIOA
#define BSP_USART_TX_PIN        GPIO_Pin_9
#define BSP_USART_RX_PORT       GPIOA
#define BSP_USART_RX_PIN        GPIO_Pin_10
#define BSP_USART_AF            GPIO_AF_USART1
#define BSP_USART_TX_AF_PIN     GPIO_PinSource9
#define BSP_USART_RX_AF_PIN     GPIO_PinSource10

void Usart1_Init(void);
void Usart1_DMA_IDLE_Init(void);
#endif
